<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="__PUBLIC__/css/menu.css" type="text/css" rel="stylesheet">
</head>
<body>
    <div class="left_nav">
        <div class="photo">
            <img src="__PUBLIC__/images/define_user.png"/>
            <div>
                <p>用户名:{:session('un')}</p>
                <p>数据库:{:C('DB_NAME')}</p>
            </div>
        </div>
        <foreach name="module" item="v">
            <ul>
                <li class="title-s"><a>{$v.title}管理</a></li>
                <li><a href="{:U('Content/index',array('tag'=>$v['tag']))}" target=main>{$v.title}列表</a></li>
                <li><a href="{:U('Content/add',array('tag'=>$v['tag']))}" target=main>添加{$v.title}</a></li>
            </ul>
        </foreach>
        
    </div>
</body>
</html>